import createBrowserHistory from 'history/createBrowserHistory';
import { syncHistoryWithStore } from 'mobx-react-router';
import { RouterStore } from 'mobx-react-router';

const routing = new RouterStore();
const browserHistory = createBrowserHistory();

export const history = syncHistoryWithStore(browserHistory, routing);
export default routing;